<?php
/***************************************************************
*  Copyright notice
*  (c) 2009, jianyuzhu@gmail.com
*  All rights reserved
*  This script is part of the PPEMI project.
***************************************************************/

//
if( file_exists('stop.php') ) {
	include_once('stop.php');
}

//
require(dirname(dirname(__FILE__)) . '/includes/application_top.php');

//
include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'module/menu/menu.class.php');
$mObj = new MenuBase();
$mObj->format = true;
$mObj->owner = '1';

//
$adb->query("TRUNCATE TABLE `pp_menus`");

//
echo 'OK';
//
?>